﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

using System.Configuration;

namespace TesterCRM.Configuration
{
    internal class EnabledProjectElement : ConfigurationElement
    {
        [ConfigurationProperty("name", IsKey = true, IsRequired = true)]
        [StringValidator(InvalidCharacters=" ")]
        public string Name
        {
            get
            {
                return ((string)(this["name"]));
            }
        }

        [ConfigurationProperty("connection", IsKey = true, IsRequired = true)]
        [StringValidator(InvalidCharacters = " ")]
        public string Connection
        {
            get
            {
                return ((string)(this["connection"]));
            }
        }
    }
}
